package com.android.inestpin.model;

/**
 * Created by Administrator on 2018/3/9.
 */

public class cartPayData {

    private int code;
    private data data;
    private boolean flag;
    private String msg;
    private int time;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public cartPayData.data getData() {
        return data;
    }

    public void setData(cartPayData.data data) {
        this.data = data;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public class data {
        private  int log_id;
        private  double order_amount;
        private  String order_sn;
        private  String out_trade_no;
        private  paymentData payment;

        public int getLog_id() {
            return log_id;
        }

        public void setLog_id(int log_id) {
            this.log_id = log_id;
        }

        public double getOrder_amount() {
            return order_amount;
        }

        public void setOrder_amount(double order_amount) {
            this.order_amount = order_amount;
        }

        public String getOrder_sn() {
            return order_sn;
        }

        public void setOrder_sn(String order_sn) {
            this.order_sn = order_sn;
        }

        public String getOut_trade_no() {
            return out_trade_no;
        }

        public void setOut_trade_no(String out_trade_no) {
            this.out_trade_no = out_trade_no;
        }

        public paymentData getPayment() {
            return payment;
        }

        public void setPayment(paymentData payment) {
            this.payment = payment;
        }
    }

    public class paymentData{
       private String appid ;
        private String noncestr	;
        private String partnerid	;
        private String prepayid	;
        private String  sign	;
        private int  timestamp	;
        private String wxpackage	;


        public String getAppid() {
            return appid;
        }

        public void setAppid(String appid) {
            this.appid = appid;
        }

        public String getNoncestr() {
            return noncestr;
        }

        public void setNoncestr(String noncestr) {
            this.noncestr = noncestr;
        }

        public String getPartnerid() {
            return partnerid;
        }

        public void setPartnerid(String partnerid) {
            this.partnerid = partnerid;
        }

        public String getPrepayid() {
            return prepayid;
        }

        public void setPrepayid(String prepayid) {
            this.prepayid = prepayid;
        }

        public String getSign() {
            return sign;
        }

        public void setSign(String sign) {
            this.sign = sign;
        }

        public int getTimestamp() {
            return timestamp;
        }

        public void setTimestamp(int timestamp) {
            this.timestamp = timestamp;
        }

        public String getWxpackage() {
            return wxpackage;
        }

        public void setWxpackage(String wxpackage) {
            this.wxpackage = wxpackage;
        }
    }
}
